package top.scsoul.voes.common.core.domain.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import top.scsoul.voes.common.constance.OnlineState;

import java.util.Date;

public class ExameerOnlineVo {

    private Integer examId;
    private String examCardNum;
    private String username;
    private String photo;
    @JsonIgnore
    private Date date;
    private Integer online = OnlineState.ONLINE;

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public String getExamCardNum() {
        return examCardNum;
    }

    public void setExamCardNum(String examCardNum) {
        this.examCardNum = examCardNum;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    @Override
    public String toString() {
        return "ExameerOnlineVo{" +
                "examId=" + examId +
                ", examCardNum='" + examCardNum + '\'' +
                ", username='" + username + '\'' +
                ", photo='" + photo + '\'' +
                ", date=" + date +
                ", online=" + online +
                '}';
    }
}
